package com.zhangzhan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangzhan.domain.commcon.ResponseResult;
import com.zhangzhan.domain.dto.SaveTagDto;
import com.zhangzhan.domain.dto.TagListBQDto;
import com.zhangzhan.domain.entity.Tag;
import com.zhangzhan.domain.vo.TagVO;
import com.zhangzhan.domain.vo.PageVO;

/**
 * 标签(Tag)表服务接口
 *
 * @author makejava
 * @since 2022-07-19 22:33:38
 */
public interface TagService extends IService<Tag> {

    ResponseResult<PageVO> selectPageList(Integer pageNum, Integer pageSize, TagListBQDto vo);


    ResponseResult saveTag(SaveTagDto saveTagDto);

    ResponseResult deleteTag(Long id);

    ResponseResult updateTag(Long id);

    ResponseResult updateTagNow(TagListBQDto tagDto);

    ResponseResult<TagVO> listAllTag();

}
